package com.jelly.web.modules.basics.websiteDetails.domain;

/**
 * @创建人 ql
 * @创建时间 2018-10-11 13:46
 * @项目名称 jelly
 * @功能描述: 邮件基本信息
 **/
public class WebUpload {

    /** OSS上传状态 **/
    private String isOSSState;

    /** 阿里云API的内或外网域名 **/
    private String endpoint;

    /** 阿里云API的密钥Access Key ID   **/
    private String accessKeyId;

    /** 阿里云API的密钥Access Key Secret   **/
    private String accessKeySecret;

    /** 阿里云API的bucket名称   **/
    private String backetName;

    /** 上传文件夹 **/
    private String path;

    /** OSS访问地址 **/
    private String accessUrl;

    /** 本地上传地址 **/
    private String localPath;

    public void setAccessUrl(String accessUrl) {
        this.accessUrl = accessUrl;
    }

    public String getLocalPath() {
        return localPath;
    }

    public void setLocalPath(String localPath) {
        this.localPath = localPath;
    }

    public String getAccessUrl() {
        return "http://"+this.backetName+"."+this.endpoint;
    }

    public String getBacketName() {
        return backetName;
    }

    public void setBacketName(String backetName) {
        this.backetName = backetName;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getIsOSSState() {
        return isOSSState;
    }

    public void setIsOSSState(String isOSSState) {
        this.isOSSState = isOSSState;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

}
